package com.dean.basic.sort;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        DeanArraySort arraySort;
        arraySort = new BubbleSort();
        arraySort = new SelectionSort();
        arraySort = new InsertSort();
        int [] srcArray = new int[]{1,3,6,9,2,4,6,8,10};
        System.out.println("srcArray:"+ Arrays.toString(srcArray));
        int[] resultArray = arraySort.sort(srcArray);
        System.out.println("sortArray:"+ Arrays.toString(resultArray));
    }
}
